#pragma once

#include <QMainWindow>
#include <QSurfaceFormat>


namespace Ui {
class MainWindow;
}

class ModelViewer;
class Model3D;


class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = nullptr);
    ~MainWindow();

private slots:
    void on_action_Load_triggered();

    void on_action_aboutGL_triggered();

private:
    Ui::MainWindow* ui;
    QSurfaceFormat  format;
    ModelViewer*    glWnd;
    Model3D*        model;
};
